
package feesmodule.converter;

import feesmodule.domain.FeeData;
import java.lang.Double;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class FeeDataConverter
{
    private FeeData data;

    public FeeDataConverter()
    {
    }

    public FeeDataConverter(FeeData fees)
    {
        this.data = fees;
    }

    @XmlElement(name="feedescriptor")
    public String getFeeDescriptor()
    {
        return data.getFeeDescriptor();
    }
    
    @XmlElement(name="persentagerate")
    public Number getPersentageRate()
    {
        return data.getPersentage();
    }
    @XmlElement(name="peritemrate")
    public Number getPerItemRate()
    {
        return data.getPerItem();
    }
    @XmlElement(name="definedcurrency")
    public String getDefinedCurrency()
    {
        return data.getDefinedCurrency();
    }

}
